package com.zzyl.nursing.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 护理等级对象 nursing_level
 *
 * @author ruoyi
 * @date 2024-09-07
 */
public class NursingLevel extends BaseEntity {
    private static final long serialVersionUID = 1L;
    
    /**
     * 主键ID
     */
    private Long id;
    
    /**
     * 等级名称
     */
    @Excel(name = "等级名称")
    private String name;
    
    /**
     * 护理计划ID
     */
    @Excel(name = "护理计划ID")
    private Long lplanId;
    
    /**
     * 护理费用
     */
    @Excel(name = "护理费用")
    private BigDecimal fee;
    
    /**
     * 状态（0：禁用，1：启用）
     */
    @Excel(name = "状态", readConverterExp = "0=：禁用，1：启用")
    private Integer status;
    
    /**
     * 等级说明
     */
    @Excel(name = "等级说明")
    private String description;
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public Long getLplanId() {
        return lplanId;
    }
    
    public void setLplanId(Long lplanId) {
        this.lplanId = lplanId;
    }
    
    public BigDecimal getFee() {
        return fee;
    }
    
    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("lplanId", getLplanId())
                .append("fee", getFee())
                .append("status", getStatus())
                .append("description", getDescription())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
